
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>添加培训计划</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript">
        var certificateTypeIdsValue='';
        <c:if test="${fn:length(tr.certificateTypeIds) >0}">
        <c:forEach var="lis" items="${tr.certificateTypeIds}">
        certificateTypeIdsValue+=','+'${lis.certificateTypeId}';
        </c:forEach>
        </c:if>
    </script>
    <script type="text/javascript" src="${ctx}/resources/js/train/plan/info.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <%--<a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>--%>
</div>
<form id="formPlan" method="POST">
    <input type="hidden" name="id" value="${tr.id}"/>
    <div class="information">
        <div class="information-title">
            <p>培训计划基本信息</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one" >
                    <label class="lable-style">年度:</label>
                    <input  type="text" id="yearAnnual"  value="${tr.year}" data-options="readonly:true" editable="false" style="width: 240px;" >
                </div>
                <div class="form_one">
                    <label class="lable-style">计划分类:</label>
                    <input class="easyui-combobox" value="${tr.planTypeIdName}" type="text" style="width: 240px;" data-options="readonly:true">
                </div>
                <div class="form_one">
                    <label class="lable-style">培训类别:</label>
                    <input class="easyui-combobox"  value="${tr.trainTypeIdName}" type="text" style="width: 240px;" data-options="readonly:true">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">计划开班月份:</label>
                    <input name="planStartMonth" type="text"  value="${tr.planStartMonth}" editable="false"  data-options="readonly:true" class="easyui-datebox" id="planStartMonth"
                           style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">专业类别:</label>
                    <input class="easyui-combobox" value="${tr.proTypeIdName}" type="text" style="width: 240px;" data-options="readonly:true">
                </div>
                <div class="form_one">
                    <label class="lable-style">培训级别:</label>
                    <input class="easyui-combobox" value="${tr.trainLevelIdName}" type="text" style="width: 240px;" data-options="readonly:true">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否外部机构培训:</label>
                    <label><input name="isExternal" type="radio" value="1" disabled="disabled"  <c:if test="${tr.isExternal=='1'}">checked="checked"</c:if> />是</label>
                    <label><input name="isExternal" type="radio" value="0"  disabled="disabled"  <c:if test="${tr.isExternal=='0'}">checked="checked"</c:if>/>否</label>
                </div>
                <div class="form_one" id="deptDiv1"  <c:if test="${tr.isExternal=='1'}">style="display: none"</c:if><c:if test="${tr.isExternal=='0'}">style="display: block"</c:if>  >
                    <label class="lable-style" >主办单位:</label>
                    <input class="easyui-combobox"  type="text" style="width: 240px" value="${tr.hostDeptIdName}" data-options="readonly:true">
                </div>
                <div class="form_one" id="deptDiv2" <c:if test="${tr.isExternal=='1'}">style="display: block"</c:if><c:if test="${tr.isExternal=='0'}">style="display: none"</c:if>>
                    <label class="lable-style">主办单位:</label>
                    <input type="text" class="easyui-textbox" style="width: 240px"  value="${tr.hostDeptName}"  name="hostDeptName" id="hostDeptName" data-options="readonly:false">
                </div>
                <div class="form_one">
                    <label class="lable-style">培训机构:</label>
                    <input name="trainDeptId" type="text" data-options="readonly:true" class="easyui-textbox"  value="${tr.hostDeptName}" style="width: 240px;"/>
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否取证:</label>
                    <label><input name="hasCertificate" type="radio" disabled="disabled" value="1" <c:if test="${tr.hasCertificate=='1'}">checked="checked"</c:if> />是</label>
                    <label><input name="hasCertificate" type="radio" disabled="disabled"  value="0" <c:if test="${tr.hasCertificate=='0'}">checked="checked"</c:if> />否</label>
                </div>
                <div class="form_one">
                    <label class="lable-style">证书种类:</label>
                    <input type="text" style="width: 240px"  id="certificateTypeId" >
                </div>
                <div class="form_one">
                    <label class="lable-style">计划培训学时:</label>
                    <input class="easyui-numberspinner formInput" value="${tr.planTrainHour}" style="width: 240px;" value="0" name="planTrainHour"  data-options="readonly:true">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;">
                    <label class="lable-style">培训班名称:</label>
                    <input name="name"  class="easyui-textbox" value="${tr.name}"  type="text" style="width:600px;" data-options="readonly:true">
                </div>
                <div class="form_one">
                    <label class="lable-style">计划培训人数:</label>
                    <input class="easyui-numberspinner formInput" value="${tr.planTrainPerson}" style="width: 240px;" value="0"   data-options="readonly:true">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">计划举办期数:</label>
                    <input class="easyui-numberspinner formInput" data-options="readonly:true"  value="${tr.planTrainPeriod}" style="width: 240px;" value="0"  >
                </div>
                <div class="form_one">
                    <label class="lable-style">计划开班地点:</label>
                    <input   class="easyui-textbox" data-options="readonly:true" value="${tr.planTrainPlace}"  type="text" style="width:240px;" >
                </div>
                <div class="form_one">
                    <label class="lable-style">培训班负责人:</label>
                    <input  id="principal"  class="easyui-textbox" data-options="readonly:true" value="${tr.prRealName}" type="text" style="width:240px;">
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>培训计划附件</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <accessory:accessorySimple permission="" packageKey="trainPlan" uploadUserId="${loginUser.id}"
                                   packageInfos="${accessoryList}"   accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
</form>
</body>
</html>


